package com.example.springboot_demo.proxy;

import com.example.springboot_demo.service.ProductService;

public class CglibProxyDemo {
    public static void main(String[] args) {
        ProductService proxy1 = MyMethodCglibInterceptor.createProxy(ProductService.class);

        ProductService proxy2 = MyMethodCglibInterceptor.createProxy(ProductService.class);
        System.out.println(proxy1+"====="+proxy2);

    }
}